﻿using System.Collections.Generic;
using EDMDesigner.Business.CSDL.Property.Complex;
using EDMDesigner.Business.Util;

namespace EDMDesigner.Business.MSL.CUDFunction
{
    public class EntityTypeCUDFunctionParametersMapping : CUDFunctionParametersMapping
    {
        private EventedObservableCollection<KeyValuePair<ComplexProperty, EntityTypeCUDFunctionParametersMapping>> _complexPropertiesMapping;
        public EventedObservableCollection<KeyValuePair<ComplexProperty, EntityTypeCUDFunctionParametersMapping>> ComplexPropertiesMapping
        {
            get
            {
                if (_complexPropertiesMapping == null)
                    _complexPropertiesMapping = new EventedObservableCollection<KeyValuePair<ComplexProperty, EntityTypeCUDFunctionParametersMapping>>();
                return _complexPropertiesMapping;
            }
        }
    }
}
